// #![feature(int_log)]
// #![feature(exclusive_range_pattern)]
#![feature(let_chains)]
#![allow(dead_code)]
mod array;
mod bitree;
mod bitree2;
mod coding1;
mod coding2;
mod compr;
mod graph;
mod leetcode;
mod link;
mod new_bitree;
mod new_graph;
mod new_hash;
mod new_list1;
mod new_list2;
mod new_recursion;
mod new_trie;
mod nodelink;
mod recurrence;
mod sort;
mod stack;
mod stools;
mod trie;
mod violence;

fn main() {
    // array::test_array();
    // stack::test_stack();
    // leetcode::test_leetcode();

    // sort::test_bubble_sort();
    // sort::test_insert_sort();
    // sort::test_bin_searchmax(100);
    // sort::test_merge_sort();
    // sort::test_smallsum(100);
    // sort::test_splitpart();
    // sort::test_quicksort(100);
    // sort::test_heap_sort(100);
    // sort::test_radix_sort(100);
    // sort::test_merge_oddeven();

    // link::test_list();
    // bitree::test_tree();
    // bitree2::test_treelink();

    // graph::test_graph();
    // trie::test_trienode();
    // trie::test_greedy();
    // recurrence::print_all_sub_sequence("abc");
    // recurrence::print_permutation("acd");
    // recurrence::print_permutation("aad");
    // recurrence::play_card(vec![1, 2, 100, 3]);
    // recurrence::test_reverse_stack();
    // recurrence::test_trans_method();
    // new_list2::list2_main();
    // new_bitree::bitree_main();
    // new_graph::graph_main();
    // new_trie::trie_main();
    // new_recursion::recursion_main();
    // new_hash::hash_main();
    // violence::violence_main();
    // coding1::coding_main();
    coding2::coding2_main();
}
